package com.blb.zycommunity.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.alibaba.excel.enums.poi.HorizontalAlignmentEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 字典类型表
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@Data
@ColumnWidth(25)                                //列宽
@HeadFontStyle(fontHeightInPoints = 20)         //标题行高
@ContentFontStyle(fontHeightInPoints = 12)      //内容行高
@ContentStyle(horizontalAlignment = HorizontalAlignmentEnum.CENTER, fillBackgroundColor = -1) //内容居中，颜色默认
public class SysDictTypeExeclWrite implements Serializable {

    private static final long serialVersionUID = 1L;

    @ExcelProperty("字典主键")
    private Long dictId;

    @ExcelProperty("字典名称")
    private String dictName;

    @ExcelProperty("字典类型")
    private String dictType;

    @ExcelProperty("状态（0正常 1停用）")
    private String status;

    @ExcelProperty("创建者")
    private String createBy;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("更新者")
    private String updateBy;

    @ExcelProperty("更新时间")
    private LocalDateTime updateTime;

    @ExcelProperty("备注")
    private String remark;

}
